3.113 \(\int \frac{(a-b x^2)^{2/3}}{(3 a+b x^2)^2} \, dx\)

Optimal. Leaf size=584 \[ \frac{\left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} \text{EllipticF}\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right ),4 \sqrt{3}-7\right )}{3 \sqrt{2} \sqrt [4]{3} a^{2/3} b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}-\frac{\sqrt{2+\sqrt{3}} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{4\ 3^{3/4} a^{2/3} b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}+\frac{x \left (a-b x^2\right )^{2/3}}{6 a \left (3 a+b x^2\right )}-\frac{x}{6 a \left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )} \]

[Out]

(x*(a - b*x^2)^(2/3))/(6*a*(3*a + b*x^2)) - x/(6*a*((1 - Sqrt[3])*a^(1/3) - (a - b*x^2)^(1/3))) - (Sqrt[2 + Sq
rt[3]]*(a^(1/3) - (a - b*x^2)^(1/3))*Sqrt[(a^(2/3) + a^(1/3)*(a - b*x^2)^(1/3) + (a - b*x^2)^(2/3))/((1 - Sqrt
[3])*a^(1/3) - (a - b*x^2)^(1/3))^2]*EllipticE[ArcSin[((1 + Sqrt[3])*a^(1/3) - (a - b*x^2)^(1/3))/((1 - Sqrt[3
])*a^(1/3) - (a - b*x^2)^(1/3))], -7 + 4*Sqrt[3]])/(4*3^(3/4)*a^(2/3)*b*x*Sqrt[-((a^(1/3)*(a^(1/3) - (a - b*x^
2)^(1/3)))/((1 - Sqrt[3])*a^(1/3) - (a - b*x^2)^(1/3))^2)]) + ((a^(1/3) - (a - b*x^2)^(1/3))*Sqrt[(a^(2/3) + a
^(1/3)*(a - b*x^2)^(1/3) + (a - b*x^2)^(2/3))/((1 - Sqrt[3])*a^(1/3) - (a - b*x^2)^(1/3))^2]*EllipticF[ArcSin[
((1 + Sqrt[3])*a^(1/3) - (a - b*x^2)^(1/3))/((1 - Sqrt[3])*a^(1/3) - (a - b*x^2)^(1/3))], -7 + 4*Sqrt[3]])/(3*
Sqrt[2]*3^(1/4)*a^(2/3)*b*x*Sqrt[-((a^(1/3)*(a^(1/3) - (a - b*x^2)^(1/3)))/((1 - Sqrt[3])*a^(1/3) - (a - b*x^2
)^(1/3))^2)])

________________________________________________________________________________________

Rubi [A]  time = 0.374212, antiderivative size = 584, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {412, 21, 235, 304, 219, 1879} \[ \frac{\left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{3 \sqrt{2} \sqrt [4]{3} a^{2/3} b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}-\frac{\sqrt{2+\sqrt{3}} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{4\ 3^{3/4} a^{2/3} b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}+\frac{x \left (a-b x^2\right )^{2/3}}{6 a \left (3 a+b x^2\right )}-\frac{x}{6 a \left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )} \]

Antiderivative was successfully verified.

[In]

Int[(a - b*x^2)^(2/3)/(3*a + b*x^2)^2,x]

[Out]

(x*(a - b*x^2)^(2/3))/(6*a*(3*a + b*x^2)) - x/(6*a*((1 - Sqrt[3])*a^(1/3) - (a - b*x^2)^(1/3))) - (Sqrt[2 + Sq
rt[3]]*(a^(1/3) - (a - b*x^2)^(1/3))*Sqrt[(a^(2/3) + a^(1/3)*(a - b*x^2)^(1/3) + (a - b*x^2)^(2/3))/((1 - Sqrt
[3])*a^(1/3) - (a - b*x^2)^(1/3))^2]*EllipticE[ArcSin[((1 + Sqrt[3])*a^(1/3) - (a - b*x^2)^(1/3))/((1 - Sqrt[3
])*a^(1/3) - (a - b*x^2)^(1/3))], -7 + 4*Sqrt[3]])/(4*3^(3/4)*a^(2/3)*b*x*Sqrt[-((a^(1/3)*(a^(1/3) - (a - b*x^
2)^(1/3)))/((1 - Sqrt[3])*a^(1/3) - (a - b*x^2)^(1/3))^2)]) + ((a^(1/3) - (a - b*x^2)^(1/3))*Sqrt[(a^(2/3) + a
^(1/3)*(a - b*x^2)^(1/3) + (a - b*x^2)^(2/3))/((1 - Sqrt[3])*a^(1/3) - (a - b*x^2)^(1/3))^2]*EllipticF[ArcSin[
((1 + Sqrt[3])*a^(1/3) - (a - b*x^2)^(1/3))/((1 - Sqrt[3])*a^(1/3) - (a - b*x^2)^(1/3))], -7 + 4*Sqrt[3]])/(3*
Sqrt[2]*3^(1/4)*a^(2/3)*b*x*Sqrt[-((a^(1/3)*(a^(1/3) - (a - b*x^2)^(1/3)))/((1 - Sqrt[3])*a^(1/3) - (a - b*x^2
)^(1/3))^2)])

Rule 412

Int[((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_), x_Symbol] :> -Simp[(x*(a + b*x^n)^(p + 1)*(c
+ d*x^n)^q)/(a*n*(p + 1)), x] + Dist[1/(a*n*(p + 1)), Int[(a + b*x^n)^(p + 1)*(c + d*x^n)^(q - 1)*Simp[c*(n*(p
 + 1) + 1) + d*(n*(p + q + 1) + 1)*x^n, x], x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && LtQ[p,
 -1] && LtQ[0, q, 1] && IntBinomialQ[a, b, c, d, n, p, q, x]

Rule 21

Int[(u_.)*((a_) + (b_.)*(v_))^(m_.)*((c_) + (d_.)*(v_))^(n_.), x_Symbol] :> Dist[(b/d)^m, Int[u*(c + d*v)^(m +
 n), x], x] /; FreeQ[{a, b, c, d, n}, x] && EqQ[b*c - a*d, 0] && IntegerQ[m] && ( !IntegerQ[n] || SimplerQ[c +
 d*x, a + b*x])

Rule 235

Int[((a_) + (b_.)*(x_)^2)^(-1/3), x_Symbol] :> Dist[(3*Sqrt[b*x^2])/(2*b*x), Subst[Int[x/Sqrt[-a + x^3], x], x
, (a + b*x^2)^(1/3)], x] /; FreeQ[{a, b}, x]

Rule 304

Int[(x_)/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, -Dist[(S
qrt[2]*s)/(Sqrt[2 - Sqrt[3]]*r), Int[1/Sqrt[a + b*x^3], x], x] + Dist[1/r, Int[((1 + Sqrt[3])*s + r*x)/Sqrt[a
+ b*x^3], x], x]] /; FreeQ[{a, b}, x] && NegQ[a]

Rule 219

Int[1/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, Simp[(2*Sqr
t[2 - Sqrt[3]]*(s + r*x)*Sqrt[(s^2 - r*s*x + r^2*x^2)/((1 - Sqrt[3])*s + r*x)^2]*EllipticF[ArcSin[((1 + Sqrt[3
])*s + r*x)/((1 - Sqrt[3])*s + r*x)], -7 + 4*Sqrt[3]])/(3^(1/4)*r*Sqrt[a + b*x^3]*Sqrt[-((s*(s + r*x))/((1 - S
qrt[3])*s + r*x)^2)]), x]] /; FreeQ[{a, b}, x] && NegQ[a]

Rule 1879

Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Simplify[((1 + Sqrt[3])*d)/c]]
, s = Denom[Simplify[((1 + Sqrt[3])*d)/c]]}, Simp[(2*d*s^3*Sqrt[a + b*x^3])/(a*r^2*((1 - Sqrt[3])*s + r*x)), x
] + Simp[(3^(1/4)*Sqrt[2 + Sqrt[3]]*d*s*(s + r*x)*Sqrt[(s^2 - r*s*x + r^2*x^2)/((1 - Sqrt[3])*s + r*x)^2]*Elli
pticE[ArcSin[((1 + Sqrt[3])*s + r*x)/((1 - Sqrt[3])*s + r*x)], -7 + 4*Sqrt[3]])/(r^2*Sqrt[a + b*x^3]*Sqrt[-((s
*(s + r*x))/((1 - Sqrt[3])*s + r*x)^2)]), x]] /; FreeQ[{a, b, c, d}, x] && NegQ[a] && EqQ[b*c^3 - 2*(5 + 3*Sqr
t[3])*a*d^3, 0]

Rubi steps

\begin{align*} \int \frac{\left (a-b x^2\right )^{2/3}}{\left (3 a+b x^2\right )^2} \, dx &=\frac{x \left (a-b x^2\right )^{2/3}}{6 a \left (3 a+b x^2\right )}-\frac{\int \frac{-a-\frac{b x^2}{3}}{\sqrt [3]{a-b x^2} \left (3 a+b x^2\right )} \, dx}{6 a}\\ &=\frac{x \left (a-b x^2\right )^{2/3}}{6 a \left (3 a+b x^2\right )}+\frac{\int \frac{1}{\sqrt [3]{a-b x^2}} \, dx}{18 a}\\ &=\frac{x \left (a-b x^2\right )^{2/3}}{6 a \left (3 a+b x^2\right )}-\frac{\sqrt{-b x^2} \operatorname{Subst}\left (\int \frac{x}{\sqrt{-a+x^3}} \, dx,x,\sqrt [3]{a-b x^2}\right )}{12 a b x}\\ &=\frac{x \left (a-b x^2\right )^{2/3}}{6 a \left (3 a+b x^2\right )}+\frac{\sqrt{-b x^2} \operatorname{Subst}\left (\int \frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-x}{\sqrt{-a+x^3}} \, dx,x,\sqrt [3]{a-b x^2}\right )}{12 a b x}-\frac{\left (\sqrt{\frac{1}{2} \left (2+\sqrt{3}\right )} \sqrt{-b x^2}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{-a+x^3}} \, dx,x,\sqrt [3]{a-b x^2}\right )}{6 a^{2/3} b x}\\ &=\frac{x \left (a-b x^2\right )^{2/3}}{6 a \left (3 a+b x^2\right )}-\frac{x}{6 a \left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}-\frac{\sqrt{2+\sqrt{3}} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{4\ 3^{3/4} a^{2/3} b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}+\frac{\left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{3 \sqrt{2} \sqrt [4]{3} a^{2/3} b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}\\ \end{align*}

Mathematica [C]  time = 0.0571026, size = 86, normalized size = 0.15 \[ \frac{x \sqrt [3]{\frac{a-b x^2}{a}} \, _2F_1\left (\frac{1}{3},\frac{1}{2};\frac{3}{2};\frac{b x^2}{a}\right )}{18 a \sqrt [3]{a-b x^2}}+\frac{x \left (a-b x^2\right )^{2/3}}{6 a \left (3 a+b x^2\right )} \]

Antiderivative was successfully verified.

[In]

Integrate[(a - b*x^2)^(2/3)/(3*a + b*x^2)^2,x]

[Out]

(x*(a - b*x^2)^(2/3))/(6*a*(3*a + b*x^2)) + (x*((a - b*x^2)/a)^(1/3)*Hypergeometric2F1[1/3, 1/2, 3/2, (b*x^2)/
a])/(18*a*(a - b*x^2)^(1/3))

________________________________________________________________________________________

Maple [F]  time = 0.055, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{ \left ( b{x}^{2}+3\,a \right ) ^{2}} \left ( -b{x}^{2}+a \right ) ^{{\frac{2}{3}}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((-b*x^2+a)^(2/3)/(b*x^2+3*a)^2,x)

[Out]

int((-b*x^2+a)^(2/3)/(b*x^2+3*a)^2,x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (-b x^{2} + a\right )}^{\frac{2}{3}}}{{\left (b x^{2} + 3 \, a\right )}^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-b*x^2+a)^(2/3)/(b*x^2+3*a)^2,x, algorithm="maxima")

[Out]

integrate((-b*x^2 + a)^(2/3)/(b*x^2 + 3*a)^2, x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (-b x^{2} + a\right )}^{\frac{2}{3}}}{b^{2} x^{4} + 6 \, a b x^{2} + 9 \, a^{2}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-b*x^2+a)^(2/3)/(b*x^2+3*a)^2,x, algorithm="fricas")

[Out]

integral((-b*x^2 + a)^(2/3)/(b^2*x^4 + 6*a*b*x^2 + 9*a^2), x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a - b x^{2}\right )^{\frac{2}{3}}}{\left (3 a + b x^{2}\right )^{2}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-b*x**2+a)**(2/3)/(b*x**2+3*a)**2,x)

[Out]

Integral((a - b*x**2)**(2/3)/(3*a + b*x**2)**2, x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (-b x^{2} + a\right )}^{\frac{2}{3}}}{{\left (b x^{2} + 3 \, a\right )}^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-b*x^2+a)^(2/3)/(b*x^2+3*a)^2,x, algorithm="giac")

[Out]

integrate((-b*x^2 + a)^(2/3)/(b*x^2 + 3*a)^2, x)